<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<head>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<title>SMP [Page d'authentification]</title>
</head>
<body>
	<div id="auth-header">
		<img src="../images/logo.PNG" />
	</div>
	<div id="auth-main">

		<h:form id="auth-form">
			<table border="0" cellpadding="0" cellspacing="10" height="170"
				width="100%">
				<tr>
					<td colspan="2" class="auth-caption">Connexion</td>
				</tr>
				<tr>
					<td class="auth-label" width="80">Login</td>
					<td align="left"><h:inputText id="das" styleClass="fields"
							value="#{authentificationBean.das}" required="true" label="das">
						</h:inputText> <h:message for="das" /></td>
				</tr>
				<tr>
					<td class="auth-label">Password</td>
					<td align="left">
					<h:inputSecret id="password"
							styleClass="fields" value="#{authentificationBean.password}"
							label="password" required="true">
						</h:inputSecret> <h:message for="password" /></td>
				</tr>
				<tr>
					<td colspan="2" align="left"><h:messages></h:messages></td>
				</tr>
				<tr>
					<td colspan="2" align="left"><h:commandButton image="../images/go.PNG"
							action="#{authentificationBean.login}">
						</h:commandButton></td>
				</tr>
			</table>
		</h:form>
	</div>
</body>
</html>